<div class="container">
    <div class="row header">

        <div class="logo pull-left">
        	<a href="<?php echo Yii::app()->createUrl('/wap/index/index'); ?>">
        		<img src="<?php echo $this->baseViewPath ?>images/logo.png" class="img-responsive" alt="1折网logo"/>
        	</a>
        </div>
        <div class="content pull-left"></div>
        <div class="cat pull-right open-cats">
            <img src="<?php echo $this->baseViewPath ?>images/menu.png" class="img-responsive " alt="类目详情"/>
        </div>
        <div class="cat-detail-container">
            <div class="title close-cats">
                <span>类目浏览</span>
                <img src="<?php echo $this->baseViewPath ?>images/menu-back.png" class="img-responsive" alt="类目"/>
            </div>
            <div class="cat-list">
                <a href="<?php echo Yii::app()->createUrl('/wap/index/index'); ?>" class="close-cats <?php if(empty($cid)) echo active;?>">全部</a>
                <a href="<?php echo Yii::app()->createUrl('/wap/index/cat', array('cid' => 1)); ?>" class="close-cats <?php if($cid == 1) echo active;?>">女装</a>
                <a href="<?php echo Yii::app()->createUrl('/wap/index/cat', array('cid' => 2)); ?>" class="close-cats <?php if($cid == 2) echo active;?>">男装</a>
                <a href="<?php echo Yii::app()->createUrl('/wap/index/cat', array('cid' => 3)); ?>" class="close-cats <?php if($cid == 3) echo active;?>">母婴</a>
                <a href="<?php echo Yii::app()->createUrl('/wap/index/cat', array('cid' => 4)); ?>" class="close-cats <?php if($cid == 4) echo active;?>">鞋类</a>
                <a href="<?php echo Yii::app()->createUrl('/wap/index/cat', array('cid' => 5)); ?>" class="close-cats <?php if($cid == 5) echo active;?>">居家</a>
                <a href="<?php echo Yii::app()->createUrl('/wap/index/cat', array('cid' => 6)); ?>" class="close-cats <?php if($cid == 6) echo active;?>">美食</a>
                <a href="<?php echo Yii::app()->createUrl('/wap/index/cat', array('cid' => 7)); ?>" class="close-cats <?php if($cid == 7) echo active;?>">配饰</a>
                <a href="<?php echo Yii::app()->createUrl('/wap/index/cat', array('cid' => 9)); ?>" class="close-cats <?php if($cid == 9) echo active;?>">数码</a>
                <a href="<?php echo Yii::app()->createUrl('/wap/index/cat', array('cid' => 8)); ?>" class="close-cats <?php if($cid == 8) echo active;?>">美妆</a>
                <a href="<?php echo Yii::app()->createUrl('/wap/index/cat', array('cid' => 10)); ?>" class="close-cats <?php if($cid == 10) echo active;?>">文体</a>
            </div>
        </div>
    </div>
    <div  class="row">

        <a href="<?php echo Yii::app()->createUrl('/wap/index/jj'); ?>"><div  class="menu">9.9包邮</div></a>
        <a href="<?php echo Yii::app()->createUrl('/wap/index/cat', array('cid' => 6)); ?>"><div  class="menu">美食专场</div></a>
        <a href="<?php echo Yii::app()->createUrl('/wap/index/tmall'); ?>"><div  class="menu">天猫专场</div></a>
        <a href="<?php echo Yii::app()->createUrl('/wap/index/qiudong'); ?>"><div  class="menu last">秋冬新款</div></a>
    </div>
    <div  class="row banner">
        <a href="<?php echo Yii::app()->createUrl('/wap/download/dlapp') ?>">
        <img src="<?php echo $this->baseViewPath ?>images/banner2.png" class="img-responsive" alt="秋冬热卖"/></a>
    </div>


    <div class="row good-list" id="wap_goodlist">
    	
    	<!-- 瀑布流分页参数  -->
        <a href="javascript:void(0)" class="showmore" data-type="<?php echo $type; ?>" data-url="<?php echo Yii::app()->createUrl('/wap/index/ajaxgoods');?>" data-page="<?php echo $page; ?>" data-paginal="<?php echo $this->page_size; ?>" data-sum="<?php echo $this->max_num;; ?>"></a> 

        <?php foreach ($goods as $good): ?>
		    <?php include $this->getViewFile('../lib/goodlist'); ?>
		<?php endforeach; ?>
		
        <div class="clearfix"></div>
    </div>
    <div class="row more" id="more">点击加载更多>></div>
    
    
    <div class="download_app">
        <a target="_blank" href="<?php echo Yii::app()->createUrl('/app/index/download') ?>">
			<img class="img-responsive" alt="APP下载" src="/statics/wap/images/download_app.png">
		</a>
		<a class="close_div" href="javascript:void(0);"></a>
	</div>
</div>
